﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="SelectMissile.aspx.cs" Inherits="DuJianliang.ApplicationPlatform.Proj5715.Process.SelectMissile" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<base target="_self" />
    <title></title>    
</head>
<body>
    <form id="form1" runat="server">
    <table>
        <tr>
            <td colspan="2" align="right">
                <asp:Button ID="btnOK" runat="server" Text="返回" onclick="btnOK_Click"/>
            </td>
        </tr>
        <tr>
            <td style="vertical-align:top">
                <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
                    CellPadding="4" Font-Size="9pt" ForeColor="#333333" GridLines="Both" 
                            onrowcommand="GridView1_RowCommand" 
                    DataKeyNames="ItemCode,SysNumber,InDate,RemainingLife" Width="450px" 
                    onrowdatabound="GridView1_RowDataBound">                        
                    <Columns>                
                        <asp:BoundField HeaderText="型号" DataField="itemCode" ItemStyle-Width="100px"/>
                        <asp:BoundField HeaderText="弹号" DataField="distnumber" ItemStyle-Width="100px"/>
                        <asp:BoundField HeaderText="入场时间" DataFormatString="{0:d}" DataField="InDate" ItemStyle-Width="100px"/>
                        <asp:BoundField HeaderText="剩余寿命" DataField="RemainingLife" ItemStyle-Width="100px"/>
                        <asp:TemplateField HeaderText="操作"  ItemStyle-Width="50px">
                            <ItemTemplate>
                                <asp:Button ID="btnSelect" runat="server" Text="选择" CommandName="CmdSelect" Height="18px"/>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <HeaderStyle BackColor="#DFE8F6" Font-Bold="True" ForeColor="#333333" Height="20px" />    
                    <RowStyle BackColor="#FAFAFA" ForeColor="#333333" Height="20px" HorizontalAlign="Center"/>
                    <EmptyDataTemplate>
                        <div style="text-align:center; margin-top:20px; margin-bottom:20px;">当前没有数据。</div>        
                    </EmptyDataTemplate>
                </asp:GridView>
            </td>
            <td style="vertical-align:top">
                <asp:GridView ID="GridView2" runat="server" AutoGenerateColumns="False" 
                    CellPadding="4" Font-Size="9pt" ForeColor="#333333" GridLines="Both" 
                    Width="400px" onrowdatabound="GridView2_RowDataBound" DataKeyNames="InDate,RemainingLife">                        
                    <Columns>                
                        <asp:BoundField HeaderText="型号" DataField="MissileModel" ItemStyle-Width="100px"/>
                        <asp:BoundField HeaderText="弹号" DataField="MissileCode" ItemStyle-Width="100px"/>
                        <asp:BoundField HeaderText="入场时间" DataFormatString="{0:d}" DataField="InDate" ItemStyle-Width="100px"/>
                        <asp:BoundField HeaderText="剩余寿命" DataField="RemainingLife" ItemStyle-Width="100px"/>
                    </Columns>
                    <HeaderStyle BackColor="#DFE8F6" Font-Bold="True" ForeColor="#333333" Height="20px" />    
                    <RowStyle BackColor="#FAFAFA" ForeColor="#333333" Height="20px" HorizontalAlign="Center"/>
                    <EmptyDataTemplate>
                        <div style="text-align:center; margin-top:20px; margin-bottom:20px;">当前没有数据。</div>        
                    </EmptyDataTemplate>
                </asp:GridView>
            </td>
        </tr>
    </table>
    </form>
</body>
</html>
